/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package action.category;

import static com.opensymphony.xwork2.Action.SUCCESS;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;
import database.ProductDAO;
import model.Category;
import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;

/**
 *
 * @author Trang
 */
public class AddCategoryAction extends ActionSupport implements ModelDriven<Category>{
    public ProductDAO productDao = new ProductDAO();
    @Override
    public Category getModel() {
        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
    }
}
